package com.david.model.api;

import java.io.Serializable;
import java.util.List;

public class ExcelData<T> implements Serializable {
    private static final long serialVersionUID = -8371184631946967225L;
    private List<String> titles;
    private List<T> rows;
    private List<List<Object>> data;
    private String name;

    public ExcelData() {
    }

    public List<String> getTitles() {
        return this.titles;
    }

    public List<T> getRows() {
        return this.rows;
    }

    public String getName() {
        return this.name;
    }

    public List<List<Object>> getData() {
        return this.data;
    }

    public void setTitles(List<String> titles) {
        this.titles = titles;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setData(List<List<Object>> data) {
        this.data = data;
    }
}
